import java.nio.file.Path
import java.nio.file.PathMatcher
import java.nio.file.FileSystems
import java.nio.file.Paths
import java.nio.file.Files
import scala.collection.JavaConversions._

object test extends App{
  println("====Test====")
  
  val x = new PrjPlan("AWO 2013 Project Pan V1.0.mpp")
  println(x.fileInfo)
  //  println(x.cleanData)
//  println(x.prjData)
//  println(System.getProperty("user.dir"))
  
  val path:Path=Paths.get(System.getProperty("user.dir"))
//  val pattern:String="*.{java,class,xml}"
//  val matcher:PathMatcher = FileSystems.getDefault().getPathMatcher("glob:" + pattern)
//  println(matcher.matches(path))
  
//  val directoryStream = Files.newDirectoryStream(path, "*.xml")
//  
//  for (file <- directoryStream.toList) {println(file)}
  
}